import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import store from './store'

import "@/assets/iconfont/iconfont.css"

const app = createApp(App)
app.use(router)
app.use(store)
import { Form, Field, Button, Cell, CellGroup, Tabbar, TabbarItem, Toast, NavBar, DropdownMenu, DropdownItem, Popup, Swipe, SwipeItem, Lazyload, RadioGroup, Radio, Area, Icon, List, Overlay, Search } from 'vant';
app.use(Button);
app.use(Cell);
app.use(CellGroup);
app.use(Tabbar);
app.use(TabbarItem);
app.use(NavBar);
app.use(DropdownMenu);
app.use(DropdownItem);
app.use(Popup);
app.use(Form);
app.use(Field);
app.use(Swipe);
app.use(SwipeItem);
app.use(Lazyload);
app.use(Icon);
app.use(RadioGroup)
app.use(Radio)
app.use(Area)      
app.use(List)      
app.use(Overlay)     
app.use(Search)   
import navBottom from "../src/components/navBottom.vue";
app.component("navBottom", navBottom)

import navBar from "../src/components/navBar.vue";
app.component("navBar", navBar)

app.mount('#app')
